#ifndef SIGNALS_H
#define SIGNALS_H

#include <QObject>

class Signals : public QObject
{
    Q_OBJECT

    int m_value;

public:
    explicit Signals (int value = 0);
    //void setValue(int value);

signals:
    void valueChanged (int oldValue, int newValue);

public slots:
    void onValueChanged (int oldValue, int newValue);
    void setValue(int value);

};

#endif // SIGNALS_H
